package cn.zyq.demo.system.config.consts.redis;

import cn.zyq.demo.system.config.consts.route.RoutePrefixConst;

public class RedisCommonKeys {
    /**
     * jvm运行版本
     */
    public static String APP_VERSION_KEY = RoutePrefixConst.common + ".app.version";

    public static String IP_KEY(String ip) {
        return RoutePrefixConst.common + ".ip:" + ip;
    }

    public static String LOCK_KEY(String key) {
        return RoutePrefixConst.common + ".lock:" + key;
    }
}
